﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PMSGSC.DAL;
using System.Data;

namespace PMSGSC.BLL
{
  public  class Employee_BLL
    {
        public static List<Employee> GetAll(int ShipID)
        {
            return Employee_DAL.GetAll(ShipID);
        }
        public static Employee TestLogin(string userName, string passWord)
        {
            return Employee_DAL.TestLogin(userName, passWord);
        }
        public static bool Insert(Employee employee)
        {
            return Employee_DAL.Insert(employee);
        }
        public static bool Update(Employee employee)
        {
            return Employee_DAL.Update(employee);
        }
        public static bool Delete(Employee employee)
        {
            return Employee_DAL.Delete(employee);
        }

        public static bool IsExits(Employee employee)
        {
            return Employee_DAL.IsExits(employee);
        }
        public static bool IsRelationship(Employee employee)
        {
            return Employee_DAL.IsRelationship(employee);
        }
    }
}
